Proper connect_port
[juce-lv2.git] / juce / source / extras / example projects / Builds / Linux / Makefile
blob00bea9f9a788481a0c9f0d6e585679410872bf4a
1 # Automatically generated makefile, created by the Jucer
2 # Don't edit this file! Your changes will be overwritten when you re-save the Jucer project!
4 ifndef CONFIG
5 CONFIG=Debug
6 endif
8 ifeq ($(TARGET_ARCH),)
9 TARGET_ARCH := -march=native
10 endif
12 # (this disables dependency generation if multiple architectures are set)
13 DEPFLAGS := $(if $(word 2, $(TARGET_ARCH)), , -MMD)
15 ifeq ($(CONFIG),Debug)
16 BINDIR := build
17 LIBDIR := build
18 OBJDIR := build/intermediate/Debug
19 OUTDIR := build
20 CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2"
21 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g -ggdb -O0
22 CXXFLAGS += $(CFLAGS)
23 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -L"/usr/X11R6/lib/" -L"../../../../../juce/bin" -lfreetype -lpthread -lrt -lX11 -lGL -lGLU -lXinerama -lasound
24 LDDEPS :=
25 RESFLAGS := -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2"
26 TARGET := HelloWorld
27 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
28 endif
30 ifeq ($(CONFIG),Release)
31 BINDIR := build
32 LIBDIR := build
33 OBJDIR := build/intermediate/Release
34 OUTDIR := build
35 CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2"
36 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -Os
37 CXXFLAGS += $(CFLAGS)
38 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -L"/usr/X11R6/lib/" -L"../../../../../juce/bin" -lfreetype -lpthread -lrt -lX11 -lGL -lGLU -lXinerama -lasound
39 LDDEPS :=
40 RESFLAGS := -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2"
41 TARGET := HelloWorld
42 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
43 endif
45 OBJECTS := \
46 $(OBJDIR)/Main_90ebc5c2.o \
47 $(OBJDIR)/MainComponent_a6ffb4a5.o \
48 $(OBJDIR)/JuceLibraryCode1_682c927f.o \
49 $(OBJDIR)/JuceLibraryCode2_683aaa00.o \
50 $(OBJDIR)/JuceLibraryCode3_6848c181.o \
51 $(OBJDIR)/JuceLibraryCode4_6856d902.o \
53 .PHONY: clean
55 $(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
56 @echo Linking HelloWorld
57 -@mkdir -p $(BINDIR)
58 -@mkdir -p $(LIBDIR)
59 -@mkdir -p $(OUTDIR)
60 @$(BLDCMD)
62 clean:
63 @echo Cleaning HelloWorld
64 -@rm -f $(OUTDIR)/$(TARGET)
65 -@rm -rf $(OBJDIR)/*
66 -@rm -rf $(OBJDIR)
68 $(OBJDIR)/Main_90ebc5c2.o: ../../Source/Main.cpp
69 -@mkdir -p $(OBJDIR)
70 @echo "Compiling Main.cpp"
71 @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
73 $(OBJDIR)/MainComponent_a6ffb4a5.o: ../../Source/MainComponent.cpp
74 -@mkdir -p $(OBJDIR)
75 @echo "Compiling MainComponent.cpp"
76 @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
78 $(OBJDIR)/JuceLibraryCode1_682c927f.o: ../../JuceLibraryCode/JuceLibraryCode1.cpp
79 -@mkdir -p $(OBJDIR)
80 @echo "Compiling JuceLibraryCode1.cpp"
81 @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
83 $(OBJDIR)/JuceLibraryCode2_683aaa00.o: ../../JuceLibraryCode/JuceLibraryCode2.cpp
84 -@mkdir -p $(OBJDIR)
85 @echo "Compiling JuceLibraryCode2.cpp"
86 @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
88 $(OBJDIR)/JuceLibraryCode3_6848c181.o: ../../JuceLibraryCode/JuceLibraryCode3.cpp
89 -@mkdir -p $(OBJDIR)
90 @echo "Compiling JuceLibraryCode3.cpp"
91 @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
93 $(OBJDIR)/JuceLibraryCode4_6856d902.o: ../../JuceLibraryCode/JuceLibraryCode4.cpp
94 -@mkdir -p $(OBJDIR)
95 @echo "Compiling JuceLibraryCode4.cpp"
96 @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
98 -include $(OBJECTS:%.o=%.d)